package org.devgframwork.datasync.core.druid;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * @author 作者 duheng:
 * @version 创建时间：2017年8月17日 下午10:09:22 类说明
 */
@SuppressWarnings("serial")
@WebServlet(urlPatterns = "/druid/*", initParams = {@WebInitParam(name = "allow", value = ""), // IP白名单
        @WebInitParam(name = "deny", value = ""), // IP黑名单
        @WebInitParam(name = "loginUsername", value = "admin"), // 用户名
        @WebInitParam(name = "loginPassword", value = "admin*druid"), // 密码
        @WebInitParam(name = "resetEnable", value = "true")})
public class DruidStatViewServlet extends StatViewServlet {

}
